To make a box dieline, measure your product and pick a box style. Then draw or download a flat vector plan that marks every cut, fold and glue flap at exact size. That plan decides whether your artwork lines up on every panel or gets cut off, cracked or printed upside down.
For most businesses, the fastest route is to let the printer build the dieline. It still pays to know how one works. You'll design faster and catch mistakes before they reach the press. The 10 steps below cover sizing, file setup, bleed and safe zone numbers, and the checks printers run on every file.
A box dieline is a flat drawing of your box before it's folded. It shows the printer where the board gets cut, folded and glued.
You may also hear it called a keyline, a box template or a box net. All of these mean the box laid flat. The dieline usually sits on its own layer and doesn't print on the finished box, as the Wikipedia entry on dielines explains. The printer uses it to make the die. A die is a metal blade shaped like your box outline. It punches each box out of the printed sheet. For more on that process, read our guide on what die-cut packaging is.
The dieline is the structure. The artwork is your design: colours, logo, photos and text. You place the artwork on top of the dieline, one panel at a time. A "box template" is a dieline you can download and reuse, often from a printer or an online generator.
Every dieline uses the same small set of lines. Here's what each one does.
| Element | How it's usually shown | What it does |
|---|---|---|
| Cut line | Solid line | Where the blade cuts. It's the outer edge of the box piece. |
| Fold line (also called crease or score line) | Dashed line | Where the board is pressed so it bends neatly. |
| Perforation line | Labelled line or its own line style | A row of tiny cuts so a part can be torn off, like a tear strip. |
| Glue tab | Small flap, often labelled | The flap that gets glued to hold the box together. |
| Bleed | Guide line outside the cut line | Extra artwork past the edge, so no white shows if the cut moves slightly. |
| Safe zone | Guide line inside the cut and fold lines | An inner border. Keep text and logos inside it. |
Line colours vary between printers. One supplier marks cuts in black, folds in red and guides in green. Another uses spot colours named "Cut" and "Crease". Check your printer's key before you start.
For most businesses, the best choice is a dieline from your printer, built to your exact size. Online generators work for quick tests. Drawing from scratch only makes sense if you have design skills and an unusual shape.
| Option | Effort | Risk of errors | Best for |
|---|---|---|---|
| Printer-supplied dieline | Low: send your product size and box style | Lowest. It's built for the printer's own board and cutting setup. | Almost every real print order |
| Online dieline generator | Low to medium | Medium. Sizes are generic, and the printer may still need to adjust the file. | Paper prototypes and early design ideas |
| Build from scratch in Illustrator | High | Highest. Every flap and allowance is up to you. | Experienced designers copying an existing pack or drawing a custom shape |
Our view: generators are handy, but they can't judge box strength, glue area or which board suits your product. Mailer boxes, rigid boxes and window boxes each have extra structural rules. A packaging specialist checks those details before a single sheet is printed.
At The Legacy Printing, dieline preparation is part of our free design help. You pay no die or plate fees, because tooling is included in your quote. Our structural engineers and designers build the dieline to your size in millimetres, so you can design straight onto the right file.

The order is simple: size first, then structure, then file setup, then artwork. Each step covers what to do, why it matters and a quick example.
Measure width, depth and height at the widest points. Include caps, pumps and handles. Without some extra room, the product jams or the box bulges. One dieline generator site suggests adding about a quarter of an inch for a test fit. A snug cosmetic carton may need less, so ask your printer. Example: if a serum bottle is wider at the dropper collar than at the body, measure the collar.
Inside size is the space for your product. Outside size is the box measured across its outer faces. Board thickness (also called caliper) is the difference between the two. Dieline generators draw from the inside size, and subtract board thickness if you only give the outside size, as Printy Packaging's generator notes. Worked example: you order a rigid box by its outside width, made from 2mm greyboard. Each side wall takes 2mm, so the inside is 4mm narrower than the outside. A product sized to the outside measurement won't fit. Thicker board always changes the flat size, so tell your printer which size you mean.
The style sets the shape of the flat layout. Common choices are tuck end boxes (flaps tuck in to close), mailer boxes (a shipping-style box with a lid that folds from the body), lid and base boxes, sleeves and drawer boxes. Example: a reverse tuck end has its top and bottom flaps on opposite sides. A straight tuck end has both on the same side. Each needs its own dieline. Browse our retail boxes to see folding cartons, window, pillow, sleeve and subscription styles.
A vector file is built from lines and shapes that stay sharp at any size. Dielines must be vector, so never trace one by hand in a photo editor. Don't stretch an old template to a new size either. Scaling distorts the tuck flaps and glue tab, and it ignores board thickness. Example: if your new jar is bigger than the old one, don't enlarge the old template. Ask for a fresh dieline at the new size. Our box dimensions guide helps you settle the size first.
Put the dieline on its own top layer and lock it. Place artwork on a layer below. Add a notes layer if you need one. Printcraft's dieline setup notes, from an Australian printer, ask for the dieline with no fill, in a special swatch colour, with the stroke set to overprint. Overprint stops the dieline from cutting a gap in the colour underneath it. Cut, fold and perforation lines should be labelled or drawn in different line types. Example: one Australian trade printer asks for spot colours named "Cut" and "Crease", so its software can tell the lines apart.
Print the dieline at actual size. Cut the solid lines, score the dashed ones and fold it up. This catches size errors for the cost of a sheet of paper. Small boxes often fit on a standard A4 sheet. Paper bends differently from board, so this tests fit, not strength. Example: if the product only just slides into the paper version, expect it to be too tight in thicker board.
Bleed is artwork that runs past the cut line. The safe zone is an inner border that keeps text away from cuts and folds. Small cutting shifts are normal, and these two margins hide them. Example: a navy background that stops exactly at the cut line can leave a thin white edge. Extend it 3mm past the line and the edge stays navy. The next section covers the numbers in more detail.
Picture the folded box before you place anything. Panels that sit side by side on the flat file may end up on opposite sides of the box, and some flaps flip over. Example: text on a top tuck flap often has to sit upside down on the flat file so it reads correctly when the box is closed. Keep anything important off the glue tab. It ends up hidden inside.
Barcodes need flat, clear space to scan. The GS1 Australia general merchandise barcode guideline says a barcode should sit no closer than 8mm and no further than 100mm from an edge, and away from folds. For retail items, GS1 Australia prefers the lower right area of the back panel.
GS1 barcode placement guidance also says to keep barcodes and their quiet zones (the blank space around them) off flaps, die-cuts, seams, edges and overlaps. A QR code needs a quiet zone of at least 4 "X-dimensions" on every side. An X-dimension is the width of the code's smallest square. If you use a QR code and a linear barcode together at checkout, GS1 Australia says the whole QR code should sit within 50mm of the centre of the linear barcode. Example: if your barcode sits on a side panel next to the tuck, move it to the lower right of the back panel.
Foil (a metal-look print), spot UV (a shiny coating on chosen areas) and embossing or debossing (raised or pressed shapes) each need their own artwork layer. That way the printer can see exactly where each finish goes. Example: a gold foil logo goes on a layer named "Foil" as a solid shape that matches the logo on the artwork layer exactly. Our gloss vs matte finish guide helps you choose a base finish.
| Group | Steps | Skip them and you'll see | Who can handle it |
|---|---|---|---|
| Size and structure | 1, 2, 3 | Product won't fit, or box won't close | Printer's structural team |
| Building the file | 4, 5, 6 | Wrong flap sizes, dieline printing on the box | Printer, or you with a generator |
| Artwork setup | 7, 8, 9, 10 | White edges, cut-off text, failed scans, missing foil | Your designer, checked by the printer |
Most printers ask for 3mm of bleed, which is about 0.125 in. Safe zone advice ranges from 3mm to about 8mm. Use the exact numbers on your printer's dieline.
Adobe defines bleed as artwork that falls outside the trim marks. It gives a margin of error, so ink still reaches the edge after cutting. Trim is the final edge of the panel. Here's how the advice compares across sources.
| Source | Bleed | Safe zone |
|---|---|---|
| Printcraft (Australian printer) | 3mm or 5mm shown on dieline | Shown on the printer's dieline |
| Australian trade printer box spec | 3mm | Not stated |
| Other supplier artwork guides | 3–5mm, with 3mm most common | From 3mm up to 5–8mm inside the cut line |
These are supplier guides, not a fixed standard. Thick board, mailers and rigid boxes may need different margins, so ask your printer before you design.
In Adobe Illustrator, go to File > Document Setup and enter the bleed. It shows as a red line around the artboard. When you save or print to PDF, tick Use Document Bleed under Marks and Bleed. Miss that box and the exported PDF may have no bleed at all. Adobe's guide to bleeds and printer's marks in Illustrator covers the settings in more detail.
Send a PDF or AI file with the dieline on its own non-printing layer. Use CMYK or Pantone colours, 300 DPI images, outlined fonts and embedded images. Here's what each item means.
Packaging files pass through many hands, so clean them first. Delete notes layers, hidden text, internal pricing, supplier names and customer details. Keep personal data out of QR codes. Before you upload a logo or an unreleased design to a free online generator, check what it asks for in return, such as an email address or an account.
Most print problems trace back to a short list of setup errors. Each one is easy to fix before you send the file.
| Mistake | What you'll see | Fix |
|---|---|---|
| No bleed | Thin white edges on cut sides | Extend the background past the cut line by your printer's bleed |
| Text near a fold | Words wrap around a corner or crack | Keep text inside the safe zone |
| Resized template | Flaps too short or long, box won't close | Ask for a new dieline at the new size |
| Dieline left on the artwork layer | Cut and fold lines printed on the box | Keep it on a separate, labelled layer |
| RGB colours | Colours look duller than on screen | Convert to CMYK or use Pantone |
| Low-resolution image | Blurry or blocky photos | Use 300 DPI at final print size |
| Barcode on a flap or fold | Scanner can't read it | Follow GS1 placement rules |
| Upside-down art on the tuck | Text reads wrong when the box is closed | Check orientation with a paper test |
| Missing finish layer | No foil or spot UV where you expected it | Add a named layer for each finish |
At The Legacy Printing, you get a digital proof to review and approve before anything is printed. Changes at the proof stage are free.
A digital proof is an on-screen preview of your box. Check it slowly: panel orientation, spelling, barcode position and finish areas. Once you approve the design, most orders are completed and shipped within 8 to 12 working days. We deliver across Australia, including Sydney, Melbourne, Brisbane, Perth, Adelaide, Hobart, Canberra, Darwin and regional areas. A dedicated specialist looks after your project from quote to delivery.
Want to feel the board before you commit? Order a sample kit, and we'll follow up within 2 hours of your sample request. If sustainability matters to your brand, our eco-friendly packaging uses recyclable and biodegradable kraft and paperboard with soy or water-based inks. Paper-based boxes can go in kerbside recycling.
Ready to start? Minimum orders begin at 50 boxes, and we usually answer quote requests within one business day. Request a free quote, send us your product size and box style, and our team will build the dieline for you at no extra cost.
Measure your product and choose a box style. Then get a vector dieline at that size from your printer, a generator or Illustrator. Add layers, test it in paper at 100%, and set up bleed, safe zone and artwork. The simplest option is to ask your printer to build it for you.
Draw the flat layout with the shape and pen tools on a locked top layer. Use solid strokes for cuts and dashed strokes for folds. Set bleed in File > Document Setup, use the spot colour names your printer asks for, and set dieline strokes to overprint if required.
Canva suits artwork ideas better than precise dielines. For print, start with a vector dieline from your printer. Then ask them which file type they accept for the artwork.
Don't draw the dieline itself in Photoshop. Photoshop works in pixels, and dielines must be vector. You can build photo artwork there at 300 DPI, then place it onto a vector dieline in Illustrator or a similar program.
Download an SVG dieline from a generator or your printer and load it into your cutting machine's software. This works well for paper prototypes. For a production run, the printer still needs a proper dieline matched to its board.
Print the dieline at 100%, then trace or glue it onto the card. Cut the solid lines and score the dashed lines before folding. Thicker card changes the fit, so allow for board thickness.
Not with The Legacy Printing. Dieline preparation is part of our free design help, and there are no die or plate fees because tooling is included in your quote. Request a free quote with your product size and box style to get started.